// 导出数据
export var color = 'red'
export let name = 'lishuaiwu'
export const number = 7

// 导出函数
export function sum (num1, num2) {
  return num1 + num2
}

// 导出类
export class Rectangle {
  constructor (length, width) {
    this.length = length
    this.width = width
  }
}

